package cn.wolfcode.luowowo.order.reponsitory;

import cn.wolfcode.luowowo.order.domain.TicketOrder;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface TicketOrderReponsitory extends MongoRepository <TicketOrder, String> {
    /**
     * 获取当前订单
     * @param out_trade_no
     * @return
     */
    TicketOrder findByOrderNO(String out_trade_no);
}
